package DAL.DAO;

import DAL.DTO.AdresseDTO;
import DAL.DTO.SocieteDTO;
import java.util.Vector;
import ERRORS.ClientExistantException;
import ERRORS.ClientInexistantException;

public abstract class SocieteDAO {

	public abstract SocieteDTO rechercher(long numeroClient) 
                throws ClientInexistantException;
	public abstract SocieteDTO rechercher(String numeroTVA) 
                throws ClientInexistantException;
	public abstract SocieteDTO rechercher(String nomSociete, String statut) 
                throws ClientInexistantException;
	public abstract Vector<SocieteDTO> rechercher(AdresseDTO adresse) 
                throws ClientInexistantException;
	public abstract long enregistrer(SocieteDTO personne) 
                throws ClientExistantException;
	public abstract SocieteDTO modifier(SocieteDTO personne)
                throws ClientInexistantException;
	public abstract void supprimer(SocieteDTO personne)
                throws ClientInexistantException;
	public abstract Vector<SocieteDTO> liste();
	public abstract int nombreParticuliers();
}